package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.entity.CheckInPeopleDO;

import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【动态码】详情展示对象")
@Data
public class DynamicCodeVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "动态码")
    private String code;

    @ApiModelProperty(notes = "租户id")
    private String siteId;

    @ApiModelProperty(notes = "用工单位id")
    private String companyId;

    @ApiModelProperty(notes = "渠道id")
    private String channelId;

    @ApiModelProperty(notes = "创建人userId")
    private String userId;

    @ApiModelProperty(notes = "创建时间")
    private Date createDate;

    @ApiModelProperty(notes = "有效时间,单位ms")
    private Long expire;

    @ApiModelProperty(notes = "类型; 1:预登记 2:待入职")
    private Integer type;

    @ApiModelProperty(notes = "预登记人员列表")
    private List<CheckInPeopleDO> checkInPeopleDOList;

    @ApiModelProperty(notes = "员工列表")
    private List<EmpInfoVO> empInfoVOList;

    @ApiModelProperty(notes = "创建人的userId")
    private String operationUserId;



}
